﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsGame4
{
    class Colision : Object
    {
        private Boolean destroyable;
        private int life;
        private String ignore;
        private String direction;
        private String typeColision;

        public Colision(String id, Position2D position, Model model, Boolean destroyable, int life) : base(id, position, model)
        {
            type = Object.TypeObject.colision;
            this.life = life;
            this.destroyable = destroyable;
        }

        public Boolean Destroyable
        {
            get { return destroyable; }
            set { destroyable = value; }
        }

        public String Ignore
        {
            get { return ignore; }
            set { ignore = value; }
        }

        public String TypeColision
        {
            get { return typeColision; }
            set { typeColision = value; }
        }

        public String Direction
        {
            get { return direction; }
            set { direction = value; }
        }

        public int Life
        {
            get { return life; }
            set { life = value; }
        }
    }
}
